<div class="chart">
    <canvas
        baseChart
        [data]="data"
        [options]="lineChartOptions"
        [type]="lineChartType"
        [legend]="lineChartLegend"
        (chartHover)="chartHovered($event)"
        (chartClick)="chartClicked($event)"
    ></canvas>
</div>
